package com.app.miwawa.api.system.service.dao;

import org.framework.common.api.service.repository.CommonRepositoryAware;

import com.app.miwawa.api.system.entity.view.Account;

/**
 * 数据接口
 * <p>描述: 员工账户－数据接口</p>
 * <p>Company: Professional</p>
 * @author chanlong(陈龙)
 * @date 2016年2月7日 下午4:34:16
 * @version 1.0.2016
 */
public interface AccountDao extends CommonRepositoryAware<Account, String> {

	public Account findByMobile(final String mobile);
	
	public Account findByMobileAndPassword(final String mobile, final String password);
	
	public Account findByEmailOrMobileOrAccount(final String email, final String mobile, final String account);

	public Account findByEmailOrMobileOrAccountAndPassword(final String email, final String mobile, final String account, final String password);
	
}
